gmenu testcase: update to glib API changes
authorRyan Lortie <desrt@desrt.ca>
Fri, 2 Dec 2011 21:10:31 +0000 (16:10 -0500)
committerRyan Lortie <desrt@desrt.ca>
Mon, 19 Dec 2011 17:51:10 +0000 (12:51 -0500)
tests/testgmenu.c

index 9fd5258cee8d4309b3da4f535ec646f9e3c78245..96dd50ca7215e9071f0b9d1b31c1561ebbc642f4 100644 (file)
@@ -1009,13 +1009,13 @@ main (int argc, char *argv[])
   if (do_export)
     {
       g_print ("Exporting menus on the bus...\n");
-      if (!g_menu_model_dbus_export_start (bus, OBJ_PATH, model, &error))
+      if (!g_dbus_connection_export_menu_model (bus, OBJ_PATH, model, &error))
         {
           g_warning ("Menu export failed: %s", error->message);
           exit (1);
         }
       g_print ("Exporting actions on the bus...\n");
-      if (!g_action_group_dbus_export_start (bus, OBJ_PATH, group, &error))
+      if (!g_dbus_connection_export_action_group (bus, OBJ_PATH, group, &error))
         {
           g_warning ("Action export failed: %s", error->message);
           exit (1);